<template>
	<view class="content">
		<view class="header">
			<view class="mohu" v-show="ViewKou>=30">
				
			</view>
			<view class="zhanwei">
			</view>
			<view class="biao_ti">
				<view class="top-text" @click="Fanhui()"><image src="../../../../static/image/youjiantou (3).png" mode="scaleToFill"></image>设置</view>
				<text></text>
			</view>
		</view>
		<view class="Hei-top">
			<navigator url="./yhxy" class="xieyi">
				<text>用户协议</text>
				<image src="../../../../static/image/baise.png" mode="scaleToFill"></image>
			</navigator>
			<navigator url="/pages/index/W/shezhi/yhxy" class="xieyi">
				<text>隐私协议</text>
				<image src="../../../../static/image/baise.png" mode="scaleToFill"></image>
			</navigator>
			<view class="xieyi" @click="tuichu()">
				<text>退出登录</text>
				<image src="../../../../static/image/baise.png" mode="scaleToFill"></image>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				ViewKou:0
			}
		},
		onPageScroll(e) {
			this.ViewKou = e.scrollTop;
		},
		methods: {
			Fanhui(){
				uni.switchTab({
					url:"../../wode"
				});
			},
			tuichu(){
				uni.showToast({
					title: '退出成功',
					duration: 2000
				});
			}
		}
	}
</script>

<style lang="scss" scoped>
	@font-face {
	  font-family: 'YouSheBiaoTiHei';
	  src: url('https://kuaiyinvideo.oss-cn-beijing.aliyuncs.com/ziti.ttf');
	}
	.content{
		width: 100%;
		overflow: hidden;
		display: flex;
		flex-direction: column;
		align-items: center;
		.header{
			width: 100%;
			height:150rpx;
			// background-color: rgb(19, 20, 22);
			display: flex;
			flex-direction: column;
			align-items: center;
			position: fixed;
			top: 0;
			z-index: 100;
			padding-bottom: 20rpx;
			.zhanwei{
				width: 100%;
				height: 100rpx;
			}
			.biao_ti{
				width: 93%;
				display: flex;
				align-items: center;
				justify-content: space-between;
				position: relative;
				z-index: 50;
				.top-text{
					font-size: 40rpx;
					color:rgb(250,233,5);
					display: flex;
					align-items: center;
					font-family: "YouSheBiaoTiHei";
					image{
						width: 35rpx;
						height: 35rpx;
						transform: rotate(180deg);
						margin-right: 9rpx;
					}
				}
				.sousuo{
					width: 350rpx;
					height: 70rpx;
					background-color: #1a1a1a;
					border-radius: 100rpx;
					display: flex;
					align-items: center;
					position: relative;
					font-size: 26rpx;
					color: #e2e2e2;
					margin-left: 30rpx;
					image{
						width: 40rpx;
						height: 40rpx;
						margin-left: 20rpx;
						margin-right: 15rpx;
					}
				}
			}
			
		}
	
		//服务
		.Hei-top{
			width: 93%;
			overflow: hidden;
			padding: 15rpx 0;
			background-color: rgb(24, 28, 31);
			border-radius: 15rpx;
			margin-top: 200rpx;
			display: flex;
			flex-direction: column;
			align-items: center;
			
			.xieyi{
				width: 93%;
				height: 80rpx;
				display: flex;
				align-items: center;
				justify-content: space-between;
				text{
					font-size: 30rpx;
					color: #fff;
				}
				image{
					width: 35rpx;
					height: 35rpx;
				}
			}
		}
	}
</style>
